package com.sikaryofficial.backend.domain.dto.req;

import com.sikaryofficial.common.core.web.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * 用户行为对象 user_action_t
 *
 * @author qinjinyuan
 * @date 2023-11-09
 */
@Getter
@Setter
@ToString
@ApiModel(value = "用户行为列表请求入参", description = "用户行为列表请求入参")
public class UserActionListReq extends PageDomain {
    /**
     * 行为类型:1-点赞 2-收藏 3-转发
     */
    @ApiModelProperty(value = "行为类型:1-点赞 2-收藏 3-转发(分享)", example = "1")
    @Min(value = 1, message = "action type not be less than 1")
    @Max(value = 3, message = "action type not be greater than 3")
    private Integer actionType;

    /**
     * 业务类型0-评论发布;1-评论回复;2-活动预约;3-店铺收藏;4-店铺评价;5-产品分享;6-产品点赞;8-产品评价点赞;9-产品评价回复点赞;7-举报;10-产品收藏;11-店铺分享;24-文章收藏;
     */
    @ApiModelProperty(value = "业务类型3-店铺收藏;10-产品收藏;15-活动收藏;11-店铺分享;16-活动分享;5-产品分享;6-产品点赞;8-产品评价点赞;24-文章收藏;", example = "3")
    private Integer businessType;

}
